import React, {Component} from "react";
import {
	View,
	Text,
	Switch,
} from "react-native";

export default class StatusBarExm extends Component {
	constructor(props) {
		super(props);
		this.state = {
			falseSwitch: false,
		}
	}
	render() {
		return (
			<View>
				<Switch
					onValueChange={(value) => this.setState({ falseSwitch: value }) }
					onTintColor="red"
          thumbTintColor="red"
          tintColor="black"
					value={this.state.falseSwitch} 
				/>
			</View>

		);
	}
}